package com.wwj.my_ummary.config.antibrush;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.ResponseBody;
import org.springframework.web.bind.annotation.RestController;

import java.util.HashMap;
import java.util.Map;

@RestController
@RequestMapping("safeLimit")
public class SafeLimitController {

    @RequestMapping("limit")
    @ResponseBody
    public Map limit(){

        HashMap<Object, Object> map = new HashMap<>();
        // 这里用自己的接口返回值就行


        map.put("msg","请勿在规定时间内多次访问");
        return map;
    }

}
